package leetcode;

/**
 * @author zhangjunfei
 * @date 2023/8/30 16:57
 */
public class L_1016 {
    public boolean queryString(String s, int n) {
        for (int i = 1; i <= n; i++) {
            if (!s.contains(Integer.toBinaryString(i))){
                return false;
            }
        }
        return true;
    }
}
